/**
 * 
 */
package cosc617_blackteam;

/**
 * @author Laura
 * Command to get a TabCollection of all tabs
 * in the given infoaggregator
 *
 */
public class CmdGetTabs implements I_Command {
	private InfoAggregator infoagg;
	public CmdGetTabs(InfoAggregator infoagg){
		this.infoagg = infoagg;
	}
	@Override
	public Object execute() {
		return infoagg.getTabs();
	}

}
